@import "lib/assets/stylesheets/variable.scss";

#yui-toast-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: fixed;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}
.yui-toast {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: calc($padding / 2) $padding;
  color: $font-color-default;
  font-size: $font-size-default;
  background-color: $taost-bg-color;
  border-radius: $radius;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.06), 0 4px 4px 0 rgba(0, 0, 0, 0.12);
  animation: fade-in 1s;
  // &.yui-toast-posotion-top {
  //   top: 20px;
  // }
  // &.yui-toast-posotion-middle {
  //   top: 50%;
  //   transform: translate(-50%, -50%);
  // }
  // &.yui-toast-posotion-bottom {
  //   bottom: 20px;
  // }
  &-close {
    position: relative;
    top: 1px;
    margin-left: 8px;
    cursor: pointer;
  }
}

@keyframes fade-in {
  0%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
